package com.wang.mapper;

import com.wang.model.CouponDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 落日孤城
 * @since 2025-05-10
 */
public interface CouponMapper extends BaseMapper<CouponDO> {
    Integer reduceStock(@Param("couponId") Long couponId, @Param("stock")Integer stock);
}
